package com.work.demo.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;


@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class TeeRequest {
    private RequestBody requestBody;
    private byte[] encryptedBody;


    @Data
    @Builder
    @NoArgsConstructor
    @AllArgsConstructor
    public static class RequestBody {
        /**
         * 同步数据类型 static/dynamic
         */
        private String type;

        private List<? extends TeeAddRequest> data;


    }

}
